package lambda;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User{
    private Integer id;
    private String name;
    private SexEnum sex;
    private Integer score;
    private String password;


    /**
     * 角色id
     */
    private String[] roleIds;



    public static String className(){
        return "===:"+ User.class.getCanonicalName();
    }
}
